/*
 * @Author: gxn
 * @Date: 2020-08-11 12:03:20
 * @LastEditors: gxn
 * @LastEditTime: 2020-08-13 01:15:13
 * @Description: file
 */
// import { find, assign } from 'lodash'
import { log } from '../servicePath'
export default ({ service, request, serviceForMock, requestForMock, mock, faker, tools }) => ({

  /**
 * 超级管理-用户管理-系统日志-日志分页列表
 * @returns {*}
 * @constructor
 */
  admin_log_getPageList (params) {
    return request({
      url: `${log}/admin/log/getPageList`,
      method: 'POST',
      params
    })
  },
  /**
* 超级管理-用户管理-系统日志-删除数据
* @returns {*}
* @constructor
*/
  admin_log_delete (data = {}) {
    return request({
      url: `${log}/admin/log/delete`,
      method: 'POST',
      data
    })
  },
  /**
* 超级管理-用户管理-系统日志-清空
* @returns {*}
* @constructor
*/
  admin_log_clearAll (data = {}) {
    return request({
      url: `${log}/admin/log/clearAll`,
      method: 'POST',
      data
    })
  },
  /**
* 超级管理-用户管理-系统日志-获取日志
* @returns {*}
* @constructor
*/
  admin_log_get (params) {
    return request({
      url: `${log}/admin/log/get`,
      method: 'POST',
      params
    })
  }
})
